#ifndef __DEAMON_PROCESS_H__
#define __DEAMON_PROCESS_H__

#include <sys/types.h>
typedef struct  SubProcessStruct
{
    pid_t pid;
    char *name;
    char **args;
} SubProcess ;

int deamon_process_init(SubProcess *subprocess, const char *name);
int deamon_process_start(SubProcess *subprocess);
int deamon_process_stop(SubProcess *subprocess);

#endif
